home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Changing a collection durin < prev    next >
Encoding:
Internet Message Format  |  1996-07-22  |  990 b   |  [TEXT/ttxt]

  1. Subject:     Re: Changing a collection during iteration
  2. Sent:        7/19/96 3:40 PM
  3. Received:    7/19/96 3:51 PM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Is modification of a collection allowed during iteration?  I understand 
  9. >that MacApp has lists that can have items inserted/deleted while one or 
  10. >more iterators are using them.
  11.  
  12. ODF collections have the same limitations has the OpenDoc collections: 
  13. you cannot remove object while iterating. We are not going to change 
  14. that. You need to look into STL if you need more complete collection 
  15. classes.
  16.  
  17. ........................................................................
  18.  Henri Lamiraux                                      lamiraux@apple.com
  19.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  20. ........................................................................
  21.  
  22.  
  23.